//
//  FoodData.hpp
//  WeddingFoodMaker
//
//  Created by luotianqiang1 on 16/3/1.
//
//

#ifndef FoodData_hpp
#define FoodData_hpp

#include <iostream>
#include "cocos2d.h"

enum  FoodType{
    TYPE_FRENCH,
    TYPE_HOTDOG
};

class FoodData {
protected:
     static std::unordered_map<std::string,cocos2d::Vector<cocos2d::Node*>> decorations;
    static std::string flavor;
    static std::vector<std::string> flavorNames;
public:
    static const std::vector<std::string>& getAllFlavor();
    static void setFlavor(const std::string &);
    static const std::string& getFlavor();
    static std::string getChooseNext();
    static std::vector<std::string> getCutPath();
    static std::vector<std::string> getFallThings();
    static std::vector<std::string> getColorNames();
    static std::vector<std::string> getMixPath();
    static std::vector<std::string> getFallPath();
    static std::vector<std::string> getInCupPath();
    static std::vector<std::string> getDecorationPath(const std::string& name,int index);
    static std::vector<std::string> getIconPath(const std::string& name);
public:
    static void clearDecoration();
    static void eraseDecoration(const std::string& key);
    static void addDecoration(const std::string& key,cocos2d::Node*);
    static cocos2d::Vector<cocos2d::Node*> getDecoration(const std::string& key);

    
};
#endif /* FoodData_hpp */
